package com.senac.parser;

import java.sql.ResultSet;
import java.sql.SQLException;

public abstract class Parser<E> {
	

	private ResultSet rs;
	
	public Parser(ResultSet rs) {
		super();
		this.rs = rs;
	}

	
	public ResultSet getRs() {
		return rs;
	}

	public void setRs(ResultSet rs) {
		this.rs = rs;
	}

	public abstract E parse() throws SQLException;

}
